package com.song.files.service;

import org.springframework.web.multipart.MultipartFile;


public interface UploaderService {

    /**
     * 在fastdfs中上传文件
     */
    public String uploadFdfs(MultipartFile file, String fileExtName) throws Exception;

    /**
     * 在阿里OSS中上传文件
     */
    public String uploadOSS(MultipartFile file, String userId, String fileExtName) throws Exception;

}

